    <div id="left">
        <dl>
         <h2 class="head"><a href="<?php echo url('app=member'); ?>"><i class="v1_icon my_home"></i><strong>我的主页</strong></a></h2>
        </dl>
        
    <?php $_from = $this->_var['_member_menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
        <?php if ($this->_var['item']['submenu']): ?>
        <dl>
         <h2 class="head" id="<?php echo $this->_var['key']; ?>"><i class="v1_icon <?php echo $this->_var['item']['name']; ?>"></i><strong><?php echo $this->_var['item']['text']; ?></strong></h2>
           <div>
          <?php $_from = $this->_var['item']['submenu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'subitem');if (count($_from)):
    foreach ($_from AS $this->_var['subitem']):
?>
            <dd>
            <?php if ($this->_var['subitem']['name'] == $this->_var['_curitem']): ?>
                <a href="<?php echo $this->_var['subitem']['url']; ?>" class="active"><?php echo $this->_var['subitem']['text']; ?></a>
            <?php else: ?>
                <a href="<?php echo $this->_var['subitem']['url']; ?>" class="normal"><?php echo $this->_var['subitem']['text']; ?></a>
            <?php endif; ?>
            </dd>
           <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
           </div>
        </dl>
        <?php endif; ?>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
       <?php if ($this->_var['_member_menu']['overview']): ?>
<!--        <div class="application">
            <p>您目前不是卖家，您可以: </p>
            <a href="<?php echo $this->_var['_member_menu']['overview']['url']; ?>" title="<?php echo $this->_var['_member_menu']['overview']['text']; ?>">申请开店</a>
        </div>-->
        <div class="clear"></div> 
        <?php endif; ?>   
    </div>
<script language="javascript" type="text/javascript">
$(document).ready(function(){
	$('h2[class="head"]').click(function(){
		var click_id = $(this).attr('id');
		$(this).next().slideToggle("slow");
	});
});	
</script>    